package com.reeygu.item.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.reeygu.item.pojo.User;
import com.reeygu.item.vo.LoginVo;
import com.reeygu.item.vo.RespBean;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
* @author a1304
* @description 针对表【t_user】的数据库操作Service
* @createDate 2023-08-03 22:35:41
*/
public interface UserService extends IService<User> {
    //SpringSession+Redis存储用户信息 登录
    RespBean doLogin(LoginVo loginVo, HttpServletRequest request, HttpServletResponse response);
    //获取Redis客户信息 校验
    User getUserInfo(String ticket, HttpServletRequest request, HttpServletResponse response);
}
